package com.widget.fontview.radiobutton;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.RadioButton;

import com.widget.fontview.textview.FontTextView;

/**
 * Created by Administrator on 2017/11/15 0015.
 */

public class FontRadioButton extends RadioButton {

    public FontRadioButton(Context context) {
        super(context);
        init();
    }

    public FontRadioButton(Context context, AttributeSet attrs) {
        super(context, attrs);
        init();
    }

    public FontRadioButton(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        init();
    }

    public void init(){
        this.setTypeface(FontTextView.getYuanti(getContext()));
    }

}
